﻿using DeviceModule.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceModule.Services
{
    /// <summary>
    /// PLC设备解析
    /// </summary>
    public class PlcMockParser : IDeviceParser
    {
        public DeviceStatus Parse(byte[] payload)
        {
            return new DeviceStatus
            {
                DeviceId = "PLC-001",
                Online = true,
                Temperature = 36.5,
            };
        }
    }
}
